<?php
$mime = substr($_GET['get'],strlen($_GET['get'])-3,strlen($_GET['get']));
if($mime=='css'){
header('mime-type:text/css');
$Type = 'CSS';
}elseif($mime=='.js'){
header('mime-type:text/javascript');
$Type = 'JavaScript';
}elseif($mime=='jpg'){
header('mime-type:image/jpg');
$Type = 'Graphics';
}elseif($mime=='gif'){
header('mime-type:image/gif');
$Type = 'Graphics';
}elseif($mime=='png'){
header('mime-type:image/png');
$Type = 'Graphics';
}elseif($mime=='bmp'){
header('mime-type:image/bmp');
$Type = 'Graphics';
}
print file_get_contents('../../../Shared/'.$Type.'/'.$_GET['get']);
?>
